home *** CD-ROM | disk | FTP | other *** search
- /* Install_SpyMe */
- /* Hacked from Install_Notify © Michael Tanzer, 1991, 1992 */
- /* See accompanying doc */
-
- say 'Copying the following files to your rexx: directory...'
- say ' '
- say ' Spy.rexx'
- say ' SpyMe.rexx'
- say ' '
- say 'Enter ''go'' to continue:'
- pull response
- if response~='GO' then do
- say 'Installation aborted.'
- exit
- end
-
- fn.1 = 'Spy.rexx'
- fn.2 = 'SpyMe.rexx'
-
- signal on error
- do fx = 1 to 2
- fn = fn.fx
- say 'Copying' fn
- cmdstring = 'COPY "'pragma('D')'/'fn'" rexx:'
- address command cmdstring
- end
- say 'Installation complete.'
- exit
-
- error:
- say 'An error has occurred while copying' fn.fx'.'
- say 'Installation terminated.'
- exit
-